﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace FlanProjectData.GameObjects
{
    public class Item
    {
        public enum objectKind
        {
            HEAD,
            HAND,
            FOOT,
            LEGS,
            ARMS,
            CHEST,
            OTHER
        }

        [ContentSerializer(Optional = false)]
        public ItemStat Stats { get; set; }

        public string Name { get; set; }
        public objectKind Type { get; set; } //  // defini l'endroit où il sera mis dans l'equipement
        public String Link { get; set; }
        public Item()
        {

        }
        public Item(String monNom)
        {
            this.Name = monNom;
        }
        public Item(String monNom, ItemStat stat, objectKind monType)
        {
            this.Name = monNom;
            this.Stats = stat;
            this.Type = monType;
        }

    }
}
